﻿# -- Char_m.py
"""
    Copyright 2013 J. Kent Harbaugh

    This file is part of Raddel.

    Raddel is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Raddel is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Raddel.  If not, see <http://www.gnu.org/licenses/>.
"""



class Char_t:
    def Cmpgn(Self):
        return Self._Cmpgn
    def Create(Self,Cmpgn,IsPlayr):
        Self._Cmpgn=Cmpgn
        Self._IsPlayr=IsPlayr
        if Self.IsPlayr():
            Self._Name=Com_p.TxtIo_m.GetStr('Name? ')
            Self._Abils=Abil_m.Abils_t(Self)
            Self._Clss=None
            Self._Race=None
        else:
            pass
    def IsPlayr(Self):
        return Self._IsPlayr
    def Name(Self):
        return Self._Name
    def __init__(Self):
        Self._Abils=None
        Self._Cmpgn=None
        Self._Clss=None
        Self._IsPlayr=False
        Self._Name=''
        Self._Race=None



from . import Abil_m



# -- Char_m.py
